import request from './request.js'
const common = {
  //特供车源列表
  getCarList(data = {}) {
    return request.post('/bussiness/Index/GetCarList', data)
  },
  //最新寻车列表
  getFindCarList(data = {}) {
    return request.post('/bussiness/Index/GetFindCarList', data)
  },
  // 获取车品列表
  GetGoodList(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieListPaged', data)
  },
  //商户端_首页_寻配件
  GetFindGoodList(data = {}) {
    return request.post('/bussiness/Index/GetFindGoodList', data)
  },

  // 获取车品筛选分类列表
  GetGoodsCarSupplieTypeListPaged(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieTypeListPaged', data)
  },

  //收获地址列表
  addressList(data = {}) {
    return request.post('/common/ReceiverAddress/GetReceiverAddressMyList', data)
  },
  //新增收获地址列表
  addAddressList(data = {}) {
    return request.post('/common/ReceiverAddress/AddReceiverAddress', data)
  },
  //编辑收获地址列表
  editAddressList(data = {}) {
    return request.post('/common/ReceiverAddress/UpdateReceiverAddress', data)
  },
  //删除收获地址列表
  delAddressList(data = {}) {
    return request.post('/common/ReceiverAddress/DeleteReceiverAddress', data)
  },
  //默认收获地址列表
  AddressList(data = {}) {
    return request.put('/bussiness/BusReceiveAddress/DeleteAddress', data)
  },
  //搜索车源
  indexSearchCar(data = {}) {
    return request.post('/bussiness/Index/SearchCar', data)
  },
  // //搜索美护宝
  // indexSearchCood(data = {}) {
  //   return request.post('/bussiness/Index/SearchGood', data)
  // },
  //搜索美护宝
  indexSearchCood(data = {}) {
	  return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieListPaged', data)
  },
  //搜索店铺
  indexSearchStore(data = {}) {
    return request.post('/bussiness/Index/SearchStore', data)
  },
  //品牌
  GetCarBrandList(data = {}) {
    return request.post('/public/BusBrand/GetCarBrandList', data)
  },
  //系列-配置
  GetCarModelAndConfigList(data = {}) {
    return request.post('/public/BusBrand/GetCarModelAndConfigList', data)
  },
  //颜色
  GetCarColourList(data = {}) {
    return request.post('/public/BusBrand/GetCarColourList', data)
  },
  //地区
  GetRegionByLevelList(data = {}) {
    return request.post('/public/Region/GetRegionByLevelList', data)
  },
  //电话记录
  AddMobileContactData(data = {}) {
    return request.post('/bussiness/BusGoods/AddMobileContactData', data)
  },

  //联系人列表
  getContactList(data) {
    return request.post('/business/Public/GetQuotedContactBPagedList', data)
  },

  //联系人
  getContact(data) {
    return request.post('/business/Public/GetQuotedContactBt', data)
  },

  //新增/编辑联系人
  editContact(data) {
    return request.post('/business/Public/AddOrEditCarQuotedContactService', data)
  },

  //删除联系人
  delContact(data) {
    return request.post('/business/Public/DeleteQuotedContactB', data)
  },

  //商户端_寻车主页列表
  getCarFindBList(data) {
	  return request.post('/business/CarFindB/GetCarFindBList', data)
  },

  //商户端_获取配件首页列表
  getCarPartListPaged(data) {
	  return request.post('/business/CarPart/GetCarPartListPaged', data)
  },
  //余额支付
  BusBalancePay(data) {
	  return request.post('/business/BusBalancePay/BusBalancePay', data)
  },
  //根据Base64识别文字
  GetTxtByImageBase64(data) {
	  return request.post('/business/CarPart/GetTxtByImageBase64', data)
  },
  //预约管理_预约管理列表
  getBookingManagementList(data) {
	  return request.post('/api/business/core/BookingManagement/GetBookingManagementList', data)
  },
  //预约管理_预约管理列表
  getBookingManagementDetail(data) {
	  return request.post('/api/business/core/BookingManagement/GetBookingManagementDetail', data)
  }
}

export default common
